package com.photo.tagger;


import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class TestDatabaseActivity extends Activity {
	

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		//setContentView(R.layout.second);
		Log.i("tag", "kdfgdksfjgkjdf");
		ImageMetadataDBAdapter db = new ImageMetadataDBAdapter();
		Log.i("tag", "kdfgdksfjgkjdf");
		db.open();
		Log.i("tag", "kdfgdksfjgkjdf");
		db.insertImageMetadata(10, "dfdsjfk");
		Log.i("tag", "kdfgdksfjgkjdf");
		

		
		//List<Comment> values = datasource.getAllComments();

		// Use the SimpleCursorAdapter to show the
		// elements in a ListView
		//ArrayAdapter<Comment> adapter = new ArrayAdapter<Comment>(this,android.R.layout.simple_list_item_1, values);
		//setListAdapter(adapter);
	}

	// Will be called via the onClick attribute
	// of the buttons in main.xml


}
			